public class Main {
    public static void main(String[] args) {
        Zoo zoo = new Zoo();

        Animal lion = new Animal("Lion", "Mammal");
        Animal tiger = new Animal("Tiger", "Mammal");
        Animal giraffe = new Animal("Giraffe", "Mammal");

        zoo.addAnimal(lion);
        zoo.addAnimal(tiger);
        zoo.addAnimal(giraffe);

        System.out.println(zoo.displayAllAnimals());
        System.out.println("-----------------------------");

        zoo.deleteAnimal("Tiger");

        Animal elephant = new Animal("Elephant", "Mammal");
        zoo.updateAnimal(giraffe, elephant);

        System.out.println(zoo.displayAllAnimals());
    }
}